
from flask_restful import fields


user_fields = {
    'uid': fields.Integer,
    'account': fields.String,
    'mobile': fields.String,
    'uname': fields.String,
    'email': fields.String,
    'profile_photo': fields.String,
    'is_superuser': fields.Integer
}

course_fields = {
    "id":fields.Integer,
    "name":fields.String,
    "img":fields.String,
    "status":fields.Integer,
    "read_num":fields.Integer,
    'attention':fields.Integer,
    'course_type':fields.Integer,
    'create_time':fields.DateTime,
    'collect':fields.Integer,
}
